package com.zpark.mapper;

import com.zpark.entity.User;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface IUserMapper extends Mapper<User> {

    // 根据名字模糊查询
    @Select("select * from user where username like #{uname}")
    List<User> selectByUnameLike(String unmae);

}
